package com.fish.anne.dao.ibatis;

import java.util.List;

import com.fish.anne.model.SystemAction;
import com.fish.anne.dao.SystemActionDao;
import com.fish.anne.dao.ibatis.GenericDaoiBatis;

public class SystemActionDaoiBatis extends GenericDaoiBatis<SystemAction, Long> implements SystemActionDao {

    public SystemActionDaoiBatis() {
        super(SystemAction.class);
    }

    
    
	@SuppressWarnings("unchecked")
	public List<SystemAction> findAvailableActionByAdminId(Long adminUserId) {
		return getSqlMapClientTemplate().queryForList( "findAvailableActionByAdminId", adminUserId);
	}
}
